﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace DiscoveryLogic.DataViz.NetworkDiagram.NetworkData.ExternalOrgs
{
    /// <summary>
    /// 
    /// </summary>
	[Serializable, NetworkDataClass("OrgName", "OrgName", "EIN,Longitude,Latitude", "EIN,Longitude,Latitude", LinkMethod.Near)]
    public class ExternalOrgDO : NetworkDataObject
    {
        private string _OrgName;
        /// <summary></summary>
        [Filterable(true,SqlDbType.VarChar),Linkable(true,LinkMethod.Equals)]
        public string OrgName
        {
            get
            {
                return this._OrgName;
            }
            set
            {
                this._OrgName = value;
            }
        }

        private string _EIN;
        /// <summary></summary>
        [Filterable(true, SqlDbType.VarChar), Linkable(true, LinkMethod.Equals)]
        public string EIN
        {
            get
            {
                return this._EIN;
            }
            set
            {
                this._EIN = value;
            }
        }

        private string _DunsID;
        /// <summary></summary>
        [Filterable(true, SqlDbType.VarChar), Linkable(true, LinkMethod.Equals)]
        public string DunsID
        {
            get
            {
                return this._DunsID;
            }
            set
            {
                this._DunsID = value;
            }
        }

        private string _DeptName;
        /// <summary></summary>
        [Filterable(true, SqlDbType.VarChar), Linkable(true, LinkMethod.Equals)]
        public string DeptName
        {
            get
            {
                return this._DeptName;
            }
            set
            {
                this._DeptName = value;
            }
        }

        private string _Street;
        /// <summary></summary>
        [Filterable(true, SqlDbType.VarChar), Linkable(true, LinkMethod.Equals)]
        public string Street
        {
            get
            {
                return this._Street;
            }
            set
            {
                this._Street = value;
            }
        }

        private string _City;
        /// <summary></summary>
        [Filterable(true, SqlDbType.VarChar), Linkable(true, LinkMethod.Equals)]
        public string City
        {
            get
            {
                return this._City;
            }
            set
            {
                this._City = value;
            }
        }

        private string _StateProvince;
        /// <summary></summary>
        [Filterable(true, SqlDbType.VarChar), Linkable(true, LinkMethod.Equals)]
        public string StateProvince
        {
            get
            {
                return this._StateProvince;
            }
            set
            {
                this._StateProvince = value;
            }
        }

        private string _ZipCode;
        /// <summary></summary>
        [Filterable(true, SqlDbType.VarChar), Linkable(true, LinkMethod.Equals)]
        public string ZipCode
        {
            get
            {
                return this._ZipCode;
            }
            set
            {
                this._ZipCode = value;
            }
        }

        private string _Country;
        /// <summary></summary>
        [Filterable(true, SqlDbType.VarChar), Linkable(true, LinkMethod.Equals)]
        public string Country
        {
            get
            {
                return this._Country;
            }
            set
            {
                this._Country = value;
            }
        }

        private double _Longitude;
        /// <summary></summary>
        [Filterable(true, SqlDbType.Decimal), Linkable(true, LinkMethod.Equals)]
        public double Longitude
        {
            get
            {
                return this._Longitude;
            }
            set
            {
                this._Longitude = value;
            }
        }

        private double _Latitude;
        /// <summary></summary>
        [Filterable(true, SqlDbType.Decimal), Linkable(true, LinkMethod.Equals)]
        public double Latitude
        {
            get
            {
                return this._Latitude;
            }
            set
            {
                this._Latitude = value;
            }
        }
    }
}
